package com.megvii.koala.util;

import com.megvii.koala.constance.NetConstance;
import com.megvii.koala.data.GlobalData;

/**
 * Created by linyue on 16/3/3.
 */
public class KoalaUtil
{
    public static boolean isOnlineVersion()
    {
        String onlineAddress = NetConstance.DEFAULT_SERVER_URL;
        String realAddress = GlobalData.instance().getLogin().getServerAddress();
        if (onlineAddress.equals(realAddress))
        {
            return true;
        }
        else
        {
            return false;
        }
    }
}
